package com.yj.cmp.sdk.fusioncompute.compute.vm.vo;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author :LiuYuMei
 * @Date :2021-09-03 08:40:12
 */

@NoArgsConstructor
@Data
public class VmSnapshotsDetailVo {

    @SerializedName("coreNum")
    private Integer coreNum;
    @SerializedName("createTime")
    private String createTime;
    @SerializedName("description")
    private String description;
    @SerializedName("includingMemorySnapshot")
    private Boolean includingMemorySnapshot;
    @SerializedName("memorySize")
    private Integer memorySize;
    @SerializedName("name")
    private String name;
    @SerializedName("snapProvisionSize")
    private Integer snapProvisionSize;
    @SerializedName("status")
    private String status;
    @SerializedName("type")
    private String type;
    @SerializedName("uri")
    private String uri;
    @SerializedName("urn")
    private String urn;
    @SerializedName("volsnapshots")
    private List<VolsnapshotsVo> volsnapshots;
    @SerializedName("volumeSizeSum")
    private Integer volumeSizeSum;

    @NoArgsConstructor
    @Data
    public static class VolsnapshotsVo {
        @SerializedName("chgID")
        private String chgID;
        @SerializedName("datastoreUrn")
        private String datastoreUrn;
        @SerializedName("snapNameOnDev")
        private String snapNameOnDev;
        @SerializedName("snapUuid")
        private String snapUuid;
        @SerializedName("storageType")
        private String storageType;
        @SerializedName("volumeUri")
        private String volumeUri;
        @SerializedName("volumeUrn")
        private String volumeUrn;
    }
}
